import request from '@/utils/request'

export function addWorkOrder(data={}) {
    return request({
        url: 'workOrder/addWorkOrder',
        method: 'post',
        data
    })
}

export function updateWorkOrder(data={}) {
    return request({
        url: 'workOrder/updateWorkOrder',
        method: 'post',
        data
    })
}
export function getWorkOrder(data={}) {
    return request({
        url: 'workOrder/getWorkOrder',
        method: 'post',
        data
    })
}